package com.fj.netty.protocol.custom;

import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * 登录消息实体类，继承自Message
 * @author fj
 * @date 2024/1/11 11:42
 */
@Data@AllArgsConstructor
public class LoginMessage extends Message{
    private String username;
    private String password;
    private String nickname;
    @Override
    protected byte getMessageType() {
        return Message.LOGIN_REQUEST_MESSAGE;
    }
}
